<?php echo $this->render('/layout/header.phtml');?>
<link href="/public/css/productclass_dolphin.css" rel="stylesheet" type="text/css" />
<link href="/public/css/productlist.css" rel="stylesheet" type="text/css" />
</head>
<body style="background:transparent">
<div id="contain" style="width:990px;background:rgb(255,255,255);margin:0px auto;padding:0px">
<?php echo $this->render('/layout/top.phtml');?>
<div id="content" style="width: 990px; height: 485px; background-image: none; background-attachment: scroll; background-color: transparent; margin: 0px auto; background-position: 0% 0%; background-repeat: repeat repeat;">
<!-- 空白边框 -->

<div id="pdv_12810" class="pdv_class" title="" style="width:209px;height:480px;top:5px;left:1px; z-index:1">
<div id="spdv_12810" class="pdv_content" style="overflow:hidden;width:100%;height:100%">
<div class="pdv_border" style="border: 0px; height: 480px; padding: 0px; margin: 0px;background-color: rgb(245, 245, 245); background-position: initial initial; background-repeat: no-repeat repeat;">
<div style="height:100%;">
<div style="height:43px;border:0px;padding:0;margin:0;background:url(/public/images/top620.gif) 0px 0px no-repeat;">
<div style="float:left;width:100px;height:32px;font:12px/34px Arial, Helvetica, sans-serif;color:#fff;margin-left:30px;padding-top:5px;letter-spacing:2px;">
	</div>
	<div style="float:right;width:60px;height:0px;background:url(/public/images/top620.gif) -149px 0px no-repeat;">
	</div>
</div>
<div style="margin:0px;padding:0px;">
&nbsp;
</div>
</div>
</div>
<div style="margin-top:-20px;height:20px;line-height:7px;background:url(/public/images/top620.gif) 0px -360px no-repeat">&nbsp;</div>
<div style="float:right;margin-top:-20px;width:15px;height:20px;line-height:7px;background:url(/public/images/top620.gif) -194px -360px no-repeat">&nbsp;</div>

</div>
</div>

<!-- 产品分类（列表） -->

<div id="pdv_12811" class="pdv_class" title="" style="width:192px;height:222px;top:21px;left:9px; z-index:7">
<div id="spdv_12811" class="pdv_content" style="overflow:hidden;width:100%;height:100%">
<div class="pdv_border" style="border: 0px; height: 222px; padding: 0px; margin: 0px; background-color: rgb(245, 245, 245); background-position: initial initial; background-repeat: no-repeat repeat;">
<div style="height:100%;">
<div style="height:43px;border:0px;padding:0;margin:0;background:url(/public/images/top618.gif) 0px 0px no-repeat;">
<div style="float:left;width:100px;height:32px;font:12px/34px Arial, Helvetica, sans-serif;color:#fff;margin-left:30px;padding-top:5px;letter-spacing:2px;">
	</div>
	<div style="float:right;width:60px;height:0px;background:url(/public/images/top618.gif) -840px 0px no-repeat;">
	</div>
</div>
<div style="margin:0px;padding:0px;">

<link href="/public/css/productclass_dolphin.css" rel="stylesheet" type="text/css" />
<div class="productclass_dolphin">
<?php foreach ($this->categories as $category) {?>
<a href="/product/index/cateid/<?php echo $category['id'];?>" class="productclass_dolphin"><?php echo $category['name'];?></a>
<?php }?>
</div>

</div>
</div>
</div>
<div style="margin-top:-7px;height:7px;line-height:7px;background:url(/public/images/top618.gif) 0px -548px no-repeat">&nbsp;</div>
<div style="float:right;margin-top:-7px;width:15px;height:7px;line-height:7px;background:url(/public/images/top618.gif) -885px -548px no-repeat">&nbsp;</div>

</div>
</div>

<!-- 产品检索搜索 -->

<div id="pdv_12824" class="pdv_class" title="产品检索" style="width: 757px; height: 449px; top: 10px; left: 222px; z-index: 11;">
<div id="spdv_12824" class="pdv_content" style="overflow:visible;width:100%;">
<div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;background:#fff url(../../base/border/623/images/bg.gif) repeat-y;">
<div style="height:100%;">
<div style="height:45px;border:0px;padding:0;margin:0;background:url(/public/images/top623.gif) 0px 0px no-repeat;">
<div style="float:left;width:100px;height:32px;font:bold 14px/45px Arial, Helvetica, sans-serif;color:#000;margin-left:30px;padding-top:5px;letter-spacing:2px;">产品检索
	</div>
	<div style="float:right;width:60px;height:0px;background:url(/public/images/top.gif) -840px 0px no-repeat;">
	</div>
</div>
<div style="margin:0px;padding:10px;">

<link href="/public/css/productquery_dolphin.css" rel="stylesheet" type="text/css" />
<?php foreach ($this->productList as $product) {?>
<div class="productquery_dolphin">
    <div class="productquery_dolphin_top">
		<div class="fang" style="width:160px;height:116px">
		<div class="picFit" style="width:160px;height:116px">
		<a href="/product/detail/productid/<?php echo $product['id'];?>"><img src="<?php echo $product['cover'];?>" style="width: 160px;" border="0"></a>
		</div>
		</div>
	</div>
	<div class="productquery_dolphin_bottom">
		<a href="/product/detail/productid/<?php echo $product['id'];?>" class="prodtitle"><?php echo $product['name'];?></a>
	</div>
</div>
<?php }?>

<div id="showpages">
<!--<div id="pagesinfo">共6条 每页20条 页次：1/1</div>-->
<div id="pagesinfo">共<?php echo $this->amount?>条 每页<?php echo $this->rowCount;?>条 页次：<?php echo $this->page;?>/<?php echo $this->total;?></div>
	  <div id="pages">
	      <ul>
	          <li class="pbutton"><a href="/product/index/cateid/<?php echo $this->cateId;?>/page/1">首页</a></li>
	          <li class="pbutton"><a href="/product/index/cateid/<?php echo $this->cateId;?>/page/<?php echo $this->page - 1;?>">上一页</a></li>
	          <li class="pagesnow"><?php echo $this->page;?></li>
	          <li class="pbutton"><a href="/product/index/cateid/<?php echo $this->cateId;?>/page/<?php echo $this->page + 1;?>">下一页</a></li>
	          <li class="opt">
	              <select onchange="window.location=this.options[this.selectedIndex].value">
	                  <?php for ($i = 0; $i < $this->total; $i++) {?>
	                  <?php
	                  if ($i + 1 == $this->page) {
	                      $selected = 'selected="selected"';
                      } else {
                      	$selected = '';
                      }
	                  ?>
	                  <option value="/product/index/cateid/<?php echo $this->cateId;?>/page/<?php echo $i + 1;?>" <?php echo $selected;?>>第<?php echo $i + 1;?>页</option>
	                  <?php }?>
	              </select>
	          </li>
	          <li class="pbutton"><a href="/product/index/cateid/<?php echo $this->cateId;?>/page/<?php echo $this->total;?>">尾页</a></li>
	     </ul>
	 </div>
</div>

</div>
</div>
</div>
<div style="margin-top:-7px;height:7px;line-height:7px;background:url(/public/images/top623.gif) 0px -548px no-repeat">&nbsp;</div>
<div style="float:right;margin-top:-7px;width:15px;height:7px;line-height:7px;background:url(/public/images/top623.gif) -885px -548px no-repeat">&nbsp;</div>

</div>
</div>
</div>
<?php echo $this->render('/layout/bottom.phtml');?>
</div>
<?php echo $this->render('/layout/footer.phtml');?>